package com.atguigu.gulimall.product.vo.skuitem;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @author : PF_23
 * @Description : TODO
 * @date : 2021/9/21 15:11.
 */
@Data
@ToString
public class SkuItemVO {
    /**
     * 1、sku基本信息 pms_sku_info
     */
    private SkuInfoEntity info;

    boolean hasStock = true;

    /**
     * 2、sku的图片信息 pms_sku_images
     */
    private List<SkuImagesEntity> images;

    /**
     * 3、获取spu的销售属性组合
     */
    private List<ItemSaleAttrsVO> saleAttr;
    /**
     * 4、获取spu的介绍
     */
    private SpuInfoDescEntity desp;
    /**
     * 5、获取spu的参数规格信息
     */
    private List<SpuItemAttrGroupVO> groupAttrs;
}

